#include "BaseApplication.hpp"
#include <iostream>
#include "Context.h"

BaseApplication* BaseApplication::instance_ = nullptr;

BaseApplication::BaseApplication(GfxConfiguration& cfg)
	:config_(cfg)
{
	instance_ = this;
	context_ = new Context();
}

int BaseApplication::Initialize()
{
	return 0;
}

void BaseApplication::Finalize()
{
	delete context_;
	context_ = nullptr;
}

void BaseApplication::Tick()
{
}

bool BaseApplication::IsQuit()
{
	return quit_;
}
